package com.example.lushudao_admin.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.json.JSONObject;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private int user_id;
    private String user_name;
    private String  user_acc;
    private String  user_chara;
    private String  user_head;
    private String user_first_time;
    @Override
    public String toString() {
        return JSONObject.fromObject(this).toString();
    }
}

